package com.yty.dao;

import com.yty.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {

    public List<Dept> findAll();

    public int deleteDeptById(Integer id);

    public int addDept(Dept dept);

    public Dept findDeptById(Integer id);

    public int updateDept(Dept dept);
}
